package com.hexb.smh.annotations;

import com.hexb.smh.entity.enums.LogType;
import com.hexb.smh.entity.enums.Operators;

import java.lang.annotation.*;
import java.util.function.Function;

/**
 * @author : hexb
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AopOperationLog {

    LogType type() default LogType.account;

    Operators operations() default Operators.none;

    String name() default "";
}
